<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>前台首页</title>
<link href="/bsc/static/assets/css/bootstrap.css" type="text/css" rel="stylesheet" />
<link href="/bsc/static/assets/css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/bsc/static/js/jquery.min.js"></script>
</head>
<body style='overflow:-Scroll;overflow-y:hidden'>
		<div class="navbar navbar-inverse set-radius-zero">
			<div class="container">
				<div class="navbar-header">
						<img src="/bsc/static/assets/img/logo.png" />
				</div>
				<div class="right-div">
				<span>
				<font size="5" color="#125313"><b>欢迎登陆(${bisshop.shop_name })：</b></font>(${shopPost.post_name })${shopuser.username }
				</span>
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="/bsc/user/shoplogout" class="btn btn-danger pull-right">退出</a>
				</div>
			</div>
		</div>
		<section class="menu-section">
			<div class="container">
				<div class="row ">
					<div class="col-md-12">
						<div class="navbar-collapse collapse ">
							<ul id="menu-top" class="nav navbar-nav navbar-right">
							  <c:if test="${not empty menu }">
							     <c:forEach items="${menu }" var="m" varStatus="stat">
									<li>
										<a href="${m.url }" target="myiframe" id="${stat.index }" onclick="removeclass(${stat.index })"
										<c:if test="${stat.index==0 }">class="menu-top-active"</c:if> >${m.menu_name }</a>
									</li>
                                </c:forEach>
                             </c:if>
							</ul>
						</div>
					</div>

				</div>
			</div>
		</section>
		<div>
					<iframe  name="myiframe"  width="100%" height="800"  src="/bsc/up/myList"></iframe>
		</div>
	</body>
	<script type="text/javascript">
	/* $("#menu-top").click(function(){
		alert(1)
	    alert($(this).parent().siblings().children().html());
    	$(this).addClass("active").parent().siblings().children().removeClass("active");
	}) */
	function removeclass(obj){
		if(obj!='0'){
			$("#0").removeAttr("class");
		}
		
	}
	
	</script>
	
</html>